package com.tsingteng.cosfun.bean;

import java.util.List;

/**
 * 用户通知实体类
 * */
public class NotificationBean {



        /**
         * endRow : 4
         * firstPage : 1
         * hasNextPage : false
         * hasPreviousPage : false
         * isFirstPage : true
         * isLastPage : true
         * lastPage : 1
         * list : [{"content":"哈喽","contentType":"MESSAGE","createTime":1535807551000,"id":31,"readCount":0,"source":{"createTimeByDate":"2018-09-02 11:55:56","id":11,"image":"http://pde756irc.bkt.clouddn.com//-159055195test1","nickName":"阿巴噜啦呃巴","profileStatus":1,"signature":"呃呃呃呃"},"state":0,"target":{"createTimeByDate":"2018-09-02 11:55:56","id":1016,"image":"https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=1799483142,109831181&fm=26&gp=0.jpg","nickName":"烤饭1016","profileStatus":1,"signature":""},"type":"MESSAGE","unreadCount":0,"updateTime":1535807551000},{"content":"干啥呢啊，","contentType":"MESSAGE","createTime":1535806358000,"id":30,"readCount":0,"source":{"createTimeByDate":"2018-09-02 11:55:56","id":11,"image":"http://pde756irc.bkt.clouddn.com//-159055195test1","nickName":"阿巴噜啦呃巴","profileStatus":1,"signature":"呃呃呃呃"},"state":0,"target":{"createTimeByDate":"2018-09-02 11:55:56","id":1021,"image":"http://qiniu.test.tsingteng.com/test1/bebd2080593f8e56e1ff1b35914cc68397508739.jpg","nickName":"国草，先生","profileStatus":1,"signature":""},"type":"MESSAGE","unreadCount":0,"updateTime":1535806358000},{"content":"你好","contentType":"MESSAGE","createTime":1535805443000,"id":28,"readCount":0,"source":{"createTimeByDate":"2018-09-02 11:55:56","id":11,"image":"http://pde756irc.bkt.clouddn.com//-159055195test1","nickName":"阿巴噜啦呃巴","profileStatus":1,"signature":"呃呃呃呃"},"state":0,"target":{"createTimeByDate":"2018-09-02 11:55:56","id":13,"image":"http://qiniu.test.tsingteng.com/test1/77cf73a629a815aec1c278d2ef61b5de51bc84b8.jpg","nickName":"烤饭13","profileStatus":1,"signature":""},"type":"MESSAGE","unreadCount":1,"updateTime":1535805443000},{"content":"你好","contentType":"MESSAGE","createTime":1535803378000,"id":27,"source":{"createTimeByDate":"2018-09-02 11:55:56","id":11,"image":"http://pde756irc.bkt.clouddn.com//-159055195test1","nickName":"阿巴噜啦呃巴","profileStatus":1,"signature":"呃呃呃呃"},"state":0,"target":{"createTimeByDate":"2018-09-02 11:55:56","id":1039,"image":"","nickName":"烤饭1039","profileStatus":1,"signature":""},"type":"MESSAGE","updateTime":1535803378000},{"content":"考虑天气","contentType":"MESSAGE","createTime":1535787471000,"id":21,"readCount":0,"source":{"createTimeByDate":"2018-09-02 11:55:56","id":3065,"image":"http://thirdqq.qlogo.cn/qqapp/1107468920/93EAD50F03BE944551F0F5B24F2150BA/100","nickName":"～珍重，","profileStatus":1,"signature":""},"state":0,"target":{"createTimeByDate":"2018-09-02 11:55:56","id":11,"image":"http://pde756irc.bkt.clouddn.com//-159055195test1","nickName":"阿巴噜啦呃巴","profileStatus":1,"signature":"呃呃呃呃"},"type":"MESSAGE","unreadCount":2,"updateTime":1535787471000}]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         * navigatePages : 8
         * navigatepageNums : [1]
         * nextPage : 0
         * pageNum : 1
         * pageSize : 5
         * pages : 1
         * prePage : 0
         * size : 5
         * startRow : 0
         * total : 5
         */

        private int endRow;
        private int firstPage;
        private boolean hasNextPage;
        private boolean hasPreviousPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private int lastPage;
        private int navigateFirstPage;
        private int navigateLastPage;
        private int navigatePages;
        private int nextPage;
        private int pageNum;
        private int pageSize;
        private int pages;
        private int prePage;
        private int size;
        private int startRow;
        private int total;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;


    @Override
    public String toString() {
        return "NotificationBean{" +
                "endRow=" + endRow +
                ", firstPage=" + firstPage +
                ", hasNextPage=" + hasNextPage +
                ", hasPreviousPage=" + hasPreviousPage +
                ", isFirstPage=" + isFirstPage +
                ", isLastPage=" + isLastPage +
                ", lastPage=" + lastPage +
                ", navigateFirstPage=" + navigateFirstPage +
                ", navigateLastPage=" + navigateLastPage +
                ", navigatePages=" + navigatePages +
                ", nextPage=" + nextPage +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", pages=" + pages +
                ", prePage=" + prePage +
                ", size=" + size +
                ", startRow=" + startRow +
                ", total=" + total +
                ", list=" + list +
                ", navigatepageNums=" + navigatepageNums +
                '}';
    }

    public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public int getNavigateFirstPage() {
            return navigateFirstPage;
        }

        public void setNavigateFirstPage(int navigateFirstPage) {
            this.navigateFirstPage = navigateFirstPage;
        }

        public int getNavigateLastPage() {
            return navigateLastPage;
        }

        public void setNavigateLastPage(int navigateLastPage) {
            this.navigateLastPage = navigateLastPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * content : 哈喽
             * contentType : MESSAGE
             * createTime : 1535807551000
             * id : 31
             * readCount : 0
             * source : {"createTimeByDate":"2018-09-02 11:55:56","id":11,"image":"http://pde756irc.bkt.clouddn.com//-159055195test1","nickName":"阿巴噜啦呃巴","profileStatus":1,"signature":"呃呃呃呃"}
             * state : 0
             * target : {"createTimeByDate":"2018-09-02 11:55:56","id":1016,"image":"https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=1799483142,109831181&fm=26&gp=0.jpg","nickName":"烤饭1016","profileStatus":1,"signature":""}
             * type : MESSAGE
             * unreadCount : 0
             * updateTime : 1535807551000
             */

            private String content;
            private String contentType;
            private long createTime;
            private int id;
            private int readCount;
            private SourceBean source;
            private int state;
            private TargetBean target;
            private String type;
            private int unreadCount;
            private long updateTime;

            public ListBean(String content, String contentType, long createTime, int id, int readCount, SourceBean source, int state, TargetBean target, String type, int unreadCount, long updateTime) {
                this.content = content;
                this.contentType = contentType;
                this.createTime = createTime;
                this.id = id;
                this.readCount = readCount;
                this.source = source;
                this.state = state;
                this.target = target;
                this.type = type;
                this.unreadCount = unreadCount;
                this.updateTime = updateTime;
            }

            @Override
            public String toString() {
                return "ListBean{" +
                        "content='" + content + '\'' +
                        ", contentType='" + contentType + '\'' +
                        ", createTime=" + createTime +
                        ", id=" + id +
                        ", readCount=" + readCount +
                        ", source=" + source +
                        ", state=" + state +
                        ", target=" + target +
                        ", type='" + type + '\'' +
                        ", unreadCount=" + unreadCount +
                        ", updateTime=" + updateTime +
                        '}';
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getContentType() {
                return contentType;
            }

            public void setContentType(String contentType) {
                this.contentType = contentType;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getReadCount() {
                return readCount;
            }

            public void setReadCount(int readCount) {
                this.readCount = readCount;
            }

            public SourceBean getSource() {
                return source;
            }

            public void setSource(SourceBean source) {
                this.source = source;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public TargetBean getTarget() {
                return target;
            }

            public void setTarget(TargetBean target) {
                this.target = target;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getUnreadCount() {
                return unreadCount;
            }

            public void setUnreadCount(int unreadCount) {
                this.unreadCount = unreadCount;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public static class SourceBean {
                /**
                 * createTimeByDate : 2018-09-02 11:55:56
                 * id : 11
                 * image : http://pde756irc.bkt.clouddn.com//-159055195test1
                 * nickName : 阿巴噜啦呃巴
                 * profileStatus : 1
                 * signature : 呃呃呃呃
                 */

                private String createTimeByDate;
                private int id;
                private Object image;
                private String nickName;
                private int profileStatus;
                private String signature;

                public SourceBean(String createTimeByDate, int id, Object image, String nickName, int profileStatus, String signature) {
                    this.createTimeByDate = createTimeByDate;
                    this.id = id;
                    this.image = image;
                    this.nickName = nickName;
                    this.profileStatus = profileStatus;
                    this.signature = signature;
                }

                public String getCreateTimeByDate() {
                    return createTimeByDate;
                }

                public void setCreateTimeByDate(String createTimeByDate) {
                    this.createTimeByDate = createTimeByDate;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public Object getImage() {
                    return image;
                }

                public void setImage(Object image) {
                    this.image = image;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }

                public int getProfileStatus() {
                    return profileStatus;
                }

                public void setProfileStatus(int profileStatus) {
                    this.profileStatus = profileStatus;
                }

                public String getSignature() {
                    return signature;
                }

                public void setSignature(String signature) {
                    this.signature = signature;
                }
            }

            public static class TargetBean {
                /**
                 * createTimeByDate : 2018-09-02 11:55:56
                 * id : 1016
                 * image : https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=1799483142,109831181&fm=26&gp=0.jpg
                 * nickName : 烤饭1016
                 * profileStatus : 1
                 * signature :
                 */

                private String createTimeByDate;
                private int id;
                private Object image;
                private String nickName;
                private int profileStatus;
                private String signature;

                public TargetBean(String createTimeByDate, int id, Object image, String nickName, int profileStatus, String signature) {
                    this.createTimeByDate = createTimeByDate;
                    this.id = id;
                    this.image = image;
                    this.nickName = nickName;
                    this.profileStatus = profileStatus;
                    this.signature = signature;
                }

                @Override
                public String toString() {
                    return "TargetBean{" +
                            "createTimeByDate='" + createTimeByDate + '\'' +
                            ", id=" + id +
                            ", image='" + image + '\'' +
                            ", nickName='" + nickName + '\'' +
                            ", profileStatus=" + profileStatus +
                            ", signature='" + signature + '\'' +
                            '}';
                }

                public String getCreateTimeByDate() {
                    return createTimeByDate;
                }

                public void setCreateTimeByDate(String createTimeByDate) {
                    this.createTimeByDate = createTimeByDate;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public Object getImage() {
                    return image;
                }

                public void setImage(Object image) {
                    this.image = image;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }

                public int getProfileStatus() {
                    return profileStatus;
                }

                public void setProfileStatus(int profileStatus) {
                    this.profileStatus = profileStatus;
                }

                public String getSignature() {
                    return signature;
                }

                public void setSignature(String signature) {
                    this.signature = signature;
                }
            }
    }
}
